package com.xlh.dto.user;

import com.jcraft.jsch.UserInfo;
import com.xlh.pojo.user.User;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 班级用户
 * <p>
 * Created by lx on 2019/3/19.
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserClassDTO {

    @ApiModelProperty(value = "班级id")
    private Long id;

    @ApiModelProperty(value = "班级名称")
    private String name;

    @ApiModelProperty(value = "学生数量")
    private Long studentNum;

    @ApiModelProperty(value = "用户信息")
    private List<UserInfoDTO> users;

    @ApiModelProperty(value = "年级")
    private String grade;
}
